home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Mail
/
pine3.92
/
pine
/
makefile.win
< prev
next >
Wrap
Makefile
|
1996-03-14
|
4KB
|
133 lines
# $Id: makefile.win,v 4.36 1996/03/15 07:13:42 hubert Exp $
#
# T H E P I N E M A I L S Y S T E M
#
# Laurence Lundblade and Mike Seibel
# Networks and Distributed Computing
# Computing and Communications
# University of Washington
# Administration Building, AG-44
# Seattle, Washington, 98195, USA
# Internet: lgl@CAC.Washington.EDU
# mikes@CAC.Washington.EDU
#
# Please address all bugs and comments to "pine-bugs@cac.washington.edu"
#
#
# Pine and Pico are registered trademarks of the University of Washington.
# No commercial use of these trademarks may be made without prior written
# permission of the University of Washington.
#
# Pine, Pico, and Pilot software and its included text are Copyright
# 1989-1996 by the University of Washington.
#
# The full text of our legal notices is contained in the file called
# CPYRIGHT, included with this distribution.
#
#
# Pine is in part based on The Elm Mail System:
# ***********************************************************************
# * The Elm Mail System - Revision: 2.13 *
# * *
# * Copyright (c) 1986, 1987 Dave Taylor *
# * Copyright (c) 1988, 1989 USENET Community Trust *
# ***********************************************************************
#
#
#
# Make file for the Pine mail system for Windows 3.1
#
#
CC=cl
CP=copy
RM=del
MAKE=nmake
# Most commonly fiddled flags for compiler.
# Uncomment the setttings desired here
PROFILE= # -pg
OPTIMIZE= # -Os
DEBUG= -Zi -Od -DDEBUG
CBASIC= -WX -AL -GA -Gt2 -Gy -DDOS -DMOUSE -DSYSTYPE=\"PCW\"
CFLAGS= $(OPTIMIZE) $(DEBUG) $(CBASIC)
LINKSCRIPT= pine-win.lnk
LDEBUG= /CO
HEADERS= headers.h pine.h os.h helptext.h context.h \
../c-client/mail.h ../c-client/osdep.h
OBJ= addrbook.obj adrbklib.obj args.obj context.obj \
filter.obj folder.obj help.obj imap.obj init.obj mailcap.obj \
mailcmd.obj mailindx.obj mailpart.obj mailview.obj newmail.obj \
os.obj other.obj pine.obj reply.obj screen.obj send.obj \
signals.obj status.obj strings.obj ttyin.obj ttyout.obj mswinver.obj
all: pine.exe
tags:
ctags -s -t ..\\TAGS -m -h -p *.h *.c
.c.obj:
$(CC) -c $(CFLAGS) $(MAKEDIR)\$*.c
os.h: osdep\os-win.h
$(RM) os.h
$(CP) osdep\os-win.h os.h
os.c: osdep\os-win.c
$(RM) os.c
$(CP) osdep\os-win.c os.c
osdep\os-win.c: osdep\bld_path.dos osdep\canacces osdep\canonicl.dos \
osdep\chnge_pw.dos osdep\coredump osdep\creatdir.dos \
osdep\dialog.win osdep\diskquot.non osdep\domnames.dos \
osdep\dosextra osdep\err_desc.dos osdep\expnfldr.dos \
osdep\filesize osdep\fltrname.dos osdep\fnexpand.dos \
osdep\header osdep\hostname osdep\jobcntrl.dos \
osdep\lstcmpnt.dos osdep\mimedisp osdep/pipe.win \
osdep/print.win osdep\pw_stuff.dos osdep\debuging.dos \
osdep\readfile.dos osdep\rename.dos osdep\tempfile \
osdep\tempnam.dos osdep\fgetpos osdep\writ_dir \
osdep\sendmail.dos osdep\execview.win osdep\os-win.ic \
osdep\winextra
cd osdep
$(MAKE) -f makefile.dos includer.exe os-win.c
cd ..
helpindx.exe: helpindx.c
cl helpindx.c
pine.ndx: helpindx.exe pine.hlp
helpindx pine.hlp pine.ndx helptext.h
helptext.h: pine.ndx
#helptext.c: pine.hlp
# ./cmplhelp.sh < pine.hlp > helptext.c
$(OBJ): $(HEADERS)
mswinver.obj: osdep\mswinver.c
$(CC) /c $(CFLAGS) osdep\mswinver.c
osdep\mswin.res: osdep\mswin.rc osdep\mswin.ico osdep\mswin.bmp
cd osdep
$(RC) $(RCFLAGS) -r mswin.rc
cd ..
pine.exe: $(OBJ) osdep\mswin.def ..\c-client\cclient.lib \
..\pico\libpico.lib osdep\mswin.res
..\pico\blddate > bdate.c
$(CC) /c $(CFLAGS) bdate.c
link $(LDEBUG) /F /NOD /NOE /MAP:FULL /LI /ONERR:NOE /st:40000 /se:512 @$(LINKSCRIPT)
$(RC) -t -k osdep\mswin.res pine.exe
#
# this is for generating pcode
# link /PCODE /PACKC:55000 /I /F /NOI /NOE /st:44000 /se:256 @pine.lnk